package com.zwps.biz.api.model.dto.file.record.biz;

import java.util.Set;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema.RequiredMode;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Schema(description = "删除文件记录与业务表关联")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class DeleteFileRecordBizDTO {

    /**
     * 文件ID
     */
    @Schema(description = "文件ID")
    private Set<String> fileIds;

    /**
     * 业务表
     */
    @Schema(description = "业务表", requiredMode = RequiredMode.REQUIRED)
    private String bizTable;

    /**
     * 业务数据ID
     */
    @Schema(description = "业务数据ID", requiredMode = RequiredMode.REQUIRED)
    private String bizId;

    public DeleteFileRecordBizDTO(String bizTable, String bizId) {
        this.bizTable = bizTable;
        this.bizId = bizId;
    }
}